import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {


    var stack = new Stack(
      alignment: const FractionalOffset(0.5, 0.8), //X轴  和Y轴对齐方式
      children: <Widget>[
        new CircleAvatar(
          backgroundImage: new NetworkImage(
              'https://dss0.baidu.com/73t1bjeh1BF3odCf/it/u=3500343557,1762722888&fm=85&s=03A15B22D2018AAEAB3170CB03003092'),
          radius: 100.0,
        ),
        new Positioned(
          top: 10.0,
          left: 10.0,
          child: new Text("1111111111"),
        ),
        new Positioned(
          bottom: 10.0,
          right: 10.0,
          child: new Text("222222222222"),
        ),
      ],
    );

    return MaterialApp(
        title: 'list 学习',
        home: Scaffold(
          appBar: AppBar(title: Text('aaa')),
          body: Center(
            child: stack,
          ),
        ));
  }
}
